package com.example.yan_music.event;

public class PlayDurationEvent {
    private int duration;

    public boolean isPaidSong() {
        return isPaidSong;
    }

    public void setPaidSong(boolean paidSong) {
        isPaidSong = paidSong;
    }

    private boolean isPaidSong; // 是否为付费歌曲
    public PlayDurationEvent(int duration, boolean isPaidSong){
        this.duration = duration;
        this.isPaidSong = isPaidSong;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }
}
